package com.tudouji.project.d3.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 电商平台售后对象 d3_aftersales
 * 
 * @author tudouji
 * @date 2023-08-21
 */
public class D3Aftersales extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 店铺id	d3_shop表的id */
    @Excel(name = "店铺id	d3_shop表的id")
    private Long shopId;

    /** d3店铺编码 */
    @Excel(name = "d3店铺编码")
    private String d3Poscode;

    /** 平台订单号 */
    @Excel(name = "平台订单号")
    private String refoid;

    /** 平台售后单号 */
    @Excel(name = "平台售后单号")
    private String refaid;

    /** 店铺平台类型 */
    @Excel(name = "店铺平台类型")
    private String refplatform;

    /** 子平台类型 */
    @Excel(name = "子平台类型")
    private String reftype;

    /** 平台商家昵称 */
    @Excel(name = "平台商家昵称")
    private String opensellernick;

    /** 平台买家昵称 */
    @Excel(name = "平台买家昵称")
    private String openbuyernick;

    /** 售后类型 */
    @Excel(name = "售后类型")
    private String type;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderstatus;

    /** 售后阶段 */
    @Excel(name = "售后阶段")
    private String refundphase;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private String refundfee;

    /** 物流公司 */
    @Excel(name = "物流公司")
    private String logisticscompany;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String logisticsorderno;

    /** 退款申请时间 */
    @Excel(name = "退款申请时间")
    private String refundcreatetime;

    /** 退款更新时间 */
    @Excel(name = "退款更新时间")
    private String refundupdatetime;

    /** 售后原因 */
    @Excel(name = "售后原因")
    private String reason;

    /** 退款说明 */
    @Excel(name = "退款说明")
    private String desc;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private List<D3AftersalesItems> lines;

    public List<D3AftersalesItems> getLines() {
        return lines;
    }

    public void setLines(List<D3AftersalesItems> lines) {
        this.lines = lines;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setD3Poscode(String d3Poscode) 
    {
        this.d3Poscode = d3Poscode;
    }

    public String getD3Poscode() 
    {
        return d3Poscode;
    }
    public void setRefoid(String refoid) 
    {
        this.refoid = refoid;
    }

    public String getRefoid() 
    {
        return refoid;
    }
    public void setRefaid(String refaid) 
    {
        this.refaid = refaid;
    }

    public String getRefaid() 
    {
        return refaid;
    }
    public void setRefplatform(String refplatform) 
    {
        this.refplatform = refplatform;
    }

    public String getRefplatform() 
    {
        return refplatform;
    }
    public void setReftype(String reftype) 
    {
        this.reftype = reftype;
    }

    public String getReftype() 
    {
        return reftype;
    }
    public void setOpensellernick(String opensellernick) 
    {
        this.opensellernick = opensellernick;
    }

    public String getOpensellernick() 
    {
        return opensellernick;
    }
    public void setOpenbuyernick(String openbuyernick) 
    {
        this.openbuyernick = openbuyernick;
    }

    public String getOpenbuyernick() 
    {
        return openbuyernick;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setOrderstatus(String orderstatus) 
    {
        this.orderstatus = orderstatus;
    }

    public String getOrderstatus() 
    {
        return orderstatus;
    }
    public void setRefundphase(String refundphase) 
    {
        this.refundphase = refundphase;
    }

    public String getRefundphase() 
    {
        return refundphase;
    }
    public void setRefundfee(String refundfee) 
    {
        this.refundfee = refundfee;
    }

    public String getRefundfee() 
    {
        return refundfee;
    }
    public void setLogisticscompany(String logisticscompany) 
    {
        this.logisticscompany = logisticscompany;
    }

    public String getLogisticscompany() 
    {
        return logisticscompany;
    }
    public void setLogisticsorderno(String logisticsorderno) 
    {
        this.logisticsorderno = logisticsorderno;
    }

    public String getLogisticsorderno() 
    {
        return logisticsorderno;
    }
    public void setRefundcreatetime(String refundcreatetime) 
    {
        this.refundcreatetime = refundcreatetime;
    }

    public String getRefundcreatetime() 
    {
        return refundcreatetime;
    }
    public void setRefundupdatetime(String refundupdatetime) 
    {
        this.refundupdatetime = refundupdatetime;
    }

    public String getRefundupdatetime() 
    {
        return refundupdatetime;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("d3Poscode", getD3Poscode())
            .append("refoid", getRefoid())
            .append("refaid", getRefaid())
            .append("refplatform", getRefplatform())
            .append("reftype", getReftype())
            .append("opensellernick", getOpensellernick())
            .append("openbuyernick", getOpenbuyernick())
            .append("type", getType())
            .append("orderstatus", getOrderstatus())
            .append("refundphase", getRefundphase())
            .append("refundfee", getRefundfee())
            .append("logisticscompany", getLogisticscompany())
            .append("logisticsorderno", getLogisticsorderno())
            .append("refundcreatetime", getRefundcreatetime())
            .append("refundupdatetime", getRefundupdatetime())
            .append("reason", getReason())
            .append("desc", getDesc())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
